<?php
namespace Library;

class Config
{
	public function __construct(){
		
	}
	
	public static function get($configName="app",$field=""){
		$appArray = include "./Config/".$configName.".php";
		// var_dump($appArray["webname"]);
		if ( strlen($field)<1 ){
			return $appArray;
		}
		return $appArray[$field];
	}
}
?>